package com.adinnet.core.exception;

/**
 * Created by john on 15/6/29.
 */
public class BizException extends RuntimeException {

    private static final long serialVersionUID = -6879298763723247455L;

    protected String message;

    public BizException(Throwable cause) {
        super(cause);
    }

    public BizException(Throwable cause, String message) {
        super(cause);
        this.message = message;
    }

    public BizException(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public Throwable fillInStackTrace() {
        return this;
    }
}
